﻿using System;

namespace Borg
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
    public class ParamAttribute : Attribute
    {
        public string Name { get; internal set; }
        public string Plug { get; set; }
        public object Value { get; set; }

        public ParamAttribute(string name)
        {
            Name = name;
        }

        public ParamAttribute(string name, object value)
            : this(name)
        {
            Value = value;
        }
    }
}
